package com.blacktry.service;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.blacktry.entity.model.Admin;
import com.blacktry.entity.model.Calendar;
import com.blacktry.entity.model.Classroom;
import com.blacktry.entity.model.request.CalendarRequest;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.PathVariable;

import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface CalendarService extends IService<Calendar> {
    Page<Calendar> selectCalendar (CalendarRequest username, Page<Calendar> page);

    void exportCalendar(HttpServletResponse response,CalendarRequest calendarRequest) throws IOException;
}
